/***************************************************************
 *
 * (c) 2008 Markus Dittrich 
 *
 * This program is free software; you can redistribute it 
 * and/or modify it under the terms of the GNU General Public 
 * License Version 3 as published by the Free Software Foundation. 
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License Version 3 for more details.
 *
 * You should have received a copy of the GNU General Public 
 * License along with this program; if not, write to the Free 
 * Software Foundation, Inc., 59 Temple Place - Suite 330, 
 * Boston, MA 02111-1307, USA.
 *
 ****************************************************************/

#ifndef SETTINGS
#define SETTINGS

/* Qt includes */
#include <QObject>

/* boost includes */
#include <boost/utility.hpp>


/****************************************************************
 *
 * the settings class provides a fairly basic container to
 * store program settings
 *
 ***************************************************************/
class Settings 
  : 
    public QObject,
    public boost::noncopyable
{

  Q_OBJECT


public:

  explicit Settings();

  int get_canvas_data_selection_sensitivity() const;
  bool get_continuous_data_info() const;


public slots:

  void set_canvas_data_selection_sensitivity(int level);
  void set_continuous_data_info(bool state); 


private:

  /* data members */
  int canvasDataSelectionSensitivity_;
  bool continuousDataInfo_;

};

#endif
